﻿#pragma once

#include <cctype>
#include <any>

namespace Server::MirForms::VisualMapInfo::Control::Forms
{
    class RespawnsDetailForm : public System::Windows::Forms::Form
    {
    public:
        virtual ~RespawnsDetailForm()
        {
            delete components;
            delete Spread;
            delete label3;
            delete Y;
            delete label2;
            delete DoneButton;
            delete X;
            delete label1;
            delete Delay;
            delete label4;
            delete Count;
            delete label5;
            delete label6;
            delete RoutePath;
            delete label7;
            delete Direction;
            delete label8;
            delete RDelay;
            delete label9;
            delete label10;
        }

        RespawnsDetailForm();

    private:
        void Chk(std::any sender, KeyPressEventArgs *e);

        void DoneButton_Click(std::any sender, EventArgs *e);


        /// <summary>
        /// Required designer variable.
        /// </summary>
        System::ComponentModel::IContainer *components = nullptr;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
    protected:
        void Dispose(bool disposing) override;

        #pragma region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
    private:
        void InitializeComponent();

        #pragma endregion

    public:
        System::Windows::Forms::TextBox *Spread;
    private:
        System::Windows::Forms::Label *label3;
    public:
        System::Windows::Forms::TextBox *Y;
    private:
        System::Windows::Forms::Label *label2;
        System::Windows::Forms::Button *DoneButton;
    public:
        System::Windows::Forms::TextBox *X;
    private:
        System::Windows::Forms::Label *label1;
    public:
        System::Windows::Forms::TextBox *Delay;
    private:
        System::Windows::Forms::Label *label4;
    public:
        System::Windows::Forms::TextBox *Count;
    private:
        System::Windows::Forms::Label *label5;
        System::Windows::Forms::Label *label6;
    public:
        System::Windows::Forms::TextBox *RoutePath;
    private:
        System::Windows::Forms::Label *label7;
    public:
        System::Windows::Forms::TextBox *Direction;
    private:
        System::Windows::Forms::Label *label8;
    public:
        System::Windows::Forms::TextBox *RDelay;
    private:
        System::Windows::Forms::Label *label9;
        System::Windows::Forms::Label *label10;
    };
}
